package com.xyf.sys.service.impl;

import com.xyf.sys.domain.SysProductCategory;
import com.xyf.sys.mapper.SysProductCategoryMapper;
import com.xyf.sys.service.IProductCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author R-H
 * @Date 2024/4/151925
 * @Description
 */
@Service
public class ProductCategoryImpl implements IProductCategoryService {

    @Autowired
    private SysProductCategoryMapper productCategoryMapper;

    @Override
    public List<SysProductCategory> getList() {
        return productCategoryMapper.selectAll();
    }
}
